<!--项目的跟组件-->
<template>
<!--template主要是放html元素的,也就是html的页面结构-->
<div>
	<mt-header fixed title="cc的网页"></mt-header>
	<router-view></router-view>
    <nav class="mui-bar mui-bar-tab">
			<router-link class="mui-tab-item" to="/home">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</router-link>
			<router-link class="mui-tab-item" to="/tabbar-with-chat">
				<span class="mui-icon mui-icon-email"></span>
				<span class="mui-tab-label">会员</span>
			</router-link>
			<router-link class="mui-tab-item" to="/car">
				<span class="mui-icon mui-icon-contact"><span class="mui-badge">0</span></span>
				<span class="mui-tab-label">购物车</span>
			</router-link>
			<router-link class="mui-tab-item" to="/tabbar-with-map">
				<span class="mui-icon mui-icon-gear"></span>
				<span class="mui-tab-label">搜索</span>
			</router-link>
		</nav>
</div>
</template>

<script>
export default{
    data(){ //等价于es5的data:function()
        return{
            msg:"hello vuejs"
        }
    },
    methods:{
    
    },
    created(){

    }
}
</script>
<!--当前页面的css样式写到这里，其中scoped表示这个里面写的css代码只是在当面组件页面中有效-->
<style scoped>

</style>